﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class area
    {
       
        public void  areas(double r) {

            //Console.WriteLine("请输入圆的半径");
            //double R = 3.14;
            //double mianji = R * r * r;
            Console.WriteLine("圆的面积是："+3.14*r*r);
        
        }

        public void areas(int c,int k)
        {
            Console.WriteLine("长方形的面积为："+c*k);
           
        }
    }
}
